package com.org.util;
/**
 * 枚举类对象
 */
public enum Status {

    // 公共
    SUCCESS(200, "操作成功"),
    ERROR(201,"操作失败"),

    INSUFFICIENT_PERMISSION(4003, "权限不足"),

    // 登录
    LOGIN_CODE_ERROR(2002, "登录验证码错误"),
    LOGIN_ERROR(2003, "用户名不存在或密码错误");

    public int code;
    public String message;

    Status(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
